<?php if (!defined('BASEPATH')) exit('No direct script access allowed');

class Roles_model extends CI_Model {

    function __construct() {
        parent::__construct();
    }

    function getAllRoles(){
        $query = $this->db->get('roles');
        return $query->result();
    }
}